package org.hibernate.entity;

import java.util.Date;

/**
 * NewsContents entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class NewsContents implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer tid;
	private Integer cid;
	private Integer uid;
	private String contents;
	private Date posttime;

	// Constructors

	/** default constructor */
	public NewsContents() {
	}

	/** minimal constructor */
	public NewsContents(Integer tid, Integer cid, String contents) {
		this.tid = tid;
		this.cid = cid;
		this.contents = contents;
	}

	/** full constructor */
	public NewsContents(Integer tid, Integer cid, Integer uid, String contents,
			Date posttime) {
		this.tid = tid;
		this.cid = cid;
		this.uid = uid;
		this.contents = contents;
		this.posttime = posttime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getContents() {
		return this.contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Date getPosttime() {
		return this.posttime;
	}

	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}

}